package com.yksj.healthtalk.entity;

import java.io.Serializable;

import android.os.Parcel;
import android.os.Parcelable;


public class InterestWallEntity implements Serializable,Parcelable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private String imageUrl;
	private String customerId;
	private String groupId;
	private String pictureUrl;//是否有链接
	private int picHeight;
	private int picWidth;
	/**
	 * 判断属于审核中哪个状态  10-审核中  20-审核成功 30-审核失败
	 */
	
	public String getGroupId() {
		return groupId;
	}
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}
	public int getPicHeight() {
		return picHeight;
	}
	public void setPicHeight(int picHeight) {
		this.picHeight = picHeight;
	}
	public int getPicWidth() {
		return picWidth;
	}
	public void setPicWidth(int picWidth) {
		this.picWidth = picWidth;
	}

	public String getPictureUrl() {
		return pictureUrl;
	}
	public void setPictureUrl(String pictureUrl) {
		this.pictureUrl = pictureUrl;
	}

	/**
	 * 图片状态
	 * 处于审核中的哪个状态
	 */
	private String imageState = "";
	
	public String getImageState() {
		return imageState;
	}
	public void setImageState(String imageState) {
		this.imageState = imageState;
	}
	public String getCustomerId() {
		return customerId;
	}
	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	@Override
	public String toString() {
		return "id------>"+id+"     imageurl----->"+imageUrl;
	}
	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}
	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(id);
		dest.writeString(imageUrl);
		dest.writeString(imageState);
		dest.writeString(customerId);
		dest.writeString(groupId);
		dest.writeString(pictureUrl);
		dest.writeInt(picHeight);
		dest.writeInt(picWidth);
	}
	
	public static final Creator<InterestWallEntity> CREATOR = new Creator<InterestWallEntity>() {

		@Override
		public InterestWallEntity createFromParcel(Parcel source) {
			InterestWallEntity entity = new InterestWallEntity();
			entity.setId(source.readString());
			entity.setImageUrl(source.readString());
			entity.setImageState(source.readString());
			entity.setCustomerId(source.readString());
			entity.setGroupId(source.readString());
			entity.setPictureUrl(source.readString());
			entity.setPicHeight(source.readInt());
			entity.setPicWidth(source.readInt());
			return entity;
		}

		@Override
		public InterestWallEntity[] newArray(int size) {
			return null;
		}
	};
	
}
